﻿using System;
using System.Globalization;
using System.IO;

namespace BibleScreen
{
    internal static class Options
    {
        public static CultureInfo Culture
        {
            get
            {
#if NORWEGIAN
                return CultureInfo.CreateSpecificCulture("no");
#else
                return CultureInfo.CreateSpecificCulture("en");
#endif
            }
        }

        public static string ReadmeResource
        {
            get
            {
#if NORWEGIAN
                return "README.Norwegian.txt";
#else
                return "README.English.txt";
#endif
            }
        }
        public static string BibleTextResource
        {
            get
            {
#if NORWEGIAN
                return "BibleScreen.BibleTexts.Norwegian.xml";
#else
                return "BibleScreen.BibleTexts.English.xml";
#endif
            }
        }

        public static uint SlideShowDelay
        {
            get
            {
#if DEBUG
                return 1;
#else
                return  30;
#endif
            }
        }


        public static FileInfo LogFile
        {
            get
            {
                return new FileInfo(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) +
                                    Path.DirectorySeparatorChar +
                                    Environment.GetCommandLineArgs()[0] + ".log");
            }
        }

        public static string DateFormat
        {
            get { return "yyyy-MM-dd"; }
        }
    }
}